.class Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment$b;
.super Ljava/lang/Object;
.source "ImagePickerFragment.java"

# interfaces
.implements Les/za$b;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment;->g()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Les/za$b<",
        "Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment;


# direct methods
.method constructor <init>(Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment$b;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Ljava/util/List;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/picture/picker/entity/b<",
            "Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;",
            ">;>;)V"
        }
    .end annotation

    if-eqz p1, :cond_0

    .line 1
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment$b;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/picture/picker/fragment/PickerFragment;->f(Z)V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment$b;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment;

    iget-object v0, v0, Lcom/esfile/screen/recorder/picture/picker/fragment/PickerFragment;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment$b;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment;

    iget-object v0, v0, Lcom/esfile/screen/recorder/picture/picker/fragment/PickerFragment;->d:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment$b;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment;

    iget-object v0, v0, Lcom/esfile/screen/recorder/picture/picker/fragment/PickerFragment;->i:Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/picture/picker/adapter/SelectableAdapter;->d(I)V

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment$b;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment;

    invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/picture/picker/entity/b;

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/picture/picker/entity/b;->c()Ljava/util/List;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/picture/picker/fragment/PickerFragment;->a(Ljava/util/List;)V

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment$b;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment;

    iget-object v0, v0, Lcom/esfile/screen/recorder/picture/picker/fragment/PickerFragment;->i:Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter;

    invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment$b;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment;

    iget-object v0, v0, Lcom/esfile/screen/recorder/picture/picker/fragment/PickerFragment;->g:Lcom/esfile/screen/recorder/picture/picker/fragment/PickerFragment$b;

    if-eqz v0, :cond_1

    .line 9
    invoke-interface {v0, p1}, Lcom/esfile/screen/recorder/picture/picker/fragment/PickerFragment$b;->a(Ljava/util/List;)V

    goto :goto_0

    .line 10
    :cond_0
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment$b;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment;

    sget v0, Les/w4;->durec_no_screenshots:I

    sget v1, Les/z4;->durec_no_available_img:I

    invoke-virtual {p1, v0, v1}, Lcom/esfile/screen/recorder/picture/picker/fragment/PickerFragment;->a(II)V

    .line 11
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment$b;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment;

    const/4 v0, 0x1

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/picture/picker/fragment/PickerFragment;->f(Z)V

    .line 12
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment$b;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePickerFragment;

    iget-object p1, p1, Lcom/esfile/screen/recorder/picture/picker/fragment/PickerFragment;->g:Lcom/esfile/screen/recorder/picture/picker/fragment/PickerFragment$b;

    if-eqz p1, :cond_1

    const/4 v0, 0x0

    .line 13
    invoke-interface {p1, v0}, Lcom/esfile/screen/recorder/picture/picker/fragment/PickerFragment$b;->a(Ljava/util/List;)V

    :cond_1
    :goto_0
    return-void
.end method
